import { postWay, getWay, delWay } from "@/utils/request"

export const shopCart = (data) => postWay("/p/shopCart/info", data)

export const prodCount = () => getWay("/p/shopCart/prodCount")

export const totalPay = (data) => postWay("/p/shopCart/totalPay", data)

export const changeItem = (data) => postWay("/p/shopCart/changeItem", data)

export const deleteItem = (data) => delWay("/p/shopCart/deleteItem", data)
